<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>文章接口</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body onload="PR.prettyPrint()">
<nav class="navbar">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="index.html">
                博客系统
            </a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="https://github.com/YeDaxia/JApiDocs" target="_blank">GitHub</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">V1.1<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                            <li><a href="../blogs.iml/index.html">blogs.iml</a></li>
                            <li><a href="../Error/index.html">Error</a></li>
                            <li><a href="../HELP.md/index.html">HELP.md</a></li>
                            <li><a href="../info/index.html">info</a></li>
                            <li><a href="../mvnw/index.html">mvnw</a></li>
                            <li><a href="../mvnw.cmd/index.html">mvnw.cmd</a></li>
                            <li><a href="../pom.xml/index.html">pom.xml</a></li>
                            <li><a href="../src/index.html">src</a></li>
                            <li><a href="../target/index.html">target</a></li>
                            <li><a href="../设计文档/index.html">设计文档</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="book with-summary">
    <div class="book-summary">
<div class="search-box form-group">
    <input type="text" class="form-control" id="inputSearch" placeholder="搜索接口">
    <span class="glyphicon glyphicon-search form-control-feedback" aria-hidden="true"></span>
</div>
<div id="accordion" class="catalog">
        <div class="panel">
            <div id="heading0" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse0" aria-controls="collapse0">
                <i class="glyphicon glyphicon-align-justify"></i> 相册接口
            </div>
            <div id="collapse0" class="collapse in " aria-labelledby="heading0">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#getAlbums">
                        获取相册分类列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#getAlbumsItem">
                        获取该相册分类的照片列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#getQueryItemPage">
                        根据条件筛选相册照片列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#saveAlbums">
                        新增相册
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#updateAlbums">
                        修改相册
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#deleteAlbums">
                        删除相册
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#deleteAlbumsItem">
                        删除照片
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_AlbumsController.html#saveAlbumsItem">
                        相册照片上传
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading1" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse1" aria-controls="collapse1">
                <i class="glyphicon glyphicon-align-justify"></i> 文章接口
            </div>
            <div id="collapse1" class="collapse in " aria-labelledby="heading1">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#getAll">
                        获取最新文章列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#getQuery">
                        自定义筛选文章列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#getQuery">
                        获取热门文章列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#getDateils">
                        获取文章详情
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#save">
                        上传文章
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#delete">
                        删除文章
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#praiseSave">
                        文章点赞
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ArticleController.html#praiseDelete">
                        文章取消点赞
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading2" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse2" aria-controls="collapse2">
                <i class="glyphicon glyphicon-align-justify"></i> 评论接口
            </div>
            <div id="collapse2" class="collapse " aria-labelledby="heading2">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#getOk">
                        获取该文章的评论
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#getQuery">
                        自定义筛选评论
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#getNO">
                        获取评论列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#save">
                        发布评论
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#delete">
                        删除评论
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#updateOk">
                        评论审核通过
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#updateNo">
                        评论审核不通过
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#praiseSave">
                        评论点赞
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_CommentController.html#praiseDelete">
                        评论取消点赞
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading3" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse3" aria-controls="collapse3">
                <i class="glyphicon glyphicon-align-justify"></i> 友链接口
            </div>
            <div id="collapse3" class="collapse " aria-labelledby="heading3">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_FriendLinkController.html#getErr">
                        获取审核不通过的友链列表
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_FriendLinkController.html#save">
                        上传友链
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_FriendLinkController.html#delete">
                        删除友链
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_FriendLinkController.html#updateOk">
                        友链审核通过
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_FriendLinkController.html#updateNo">
                        友链审核不通过
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading4" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse4" aria-controls="collapse4">
                <i class="glyphicon glyphicon-align-justify"></i> 图片接口
            </div>
            <div id="collapse4" class="collapse " aria-labelledby="heading4">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_ImageController.html#save">
                        上传图片
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading5" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse5" aria-controls="collapse5">
                <i class="glyphicon glyphicon-align-justify"></i> 用户接口
            </div>
            <div id="collapse5" class="collapse " aria-labelledby="heading5">
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_UserController.html#login">
                        登录
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_UserController.html#getDateil">
                        获取博主信息
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_UserController.html#update">
                        修改博主基础信息
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_UserController.html#updatePassword">
                        忘记密码，修改密码
                    </a>
                    <a class="catalog-item" href="com_zhulanhua_blogs_controller_UserController.html#getMD5">
                        忘记密码，发送验证码
                    </a>
            </div>
        </div>
</div>    </div>
    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
                <div class="d-flex justify-content-between">
                    <a class="header-menu toggle-catalog" href="javascript:void(0)"><i
                            class="glyphicon glyphicon-align-justify"></i> 目录</a>
                </div>
            </div>
            <div class="page-wrapper">
                <div class="page-inner">
                    <div class="action-list">
                        <div class="action-item">
<h2 id="getAll"><a href="#">获取最新文章列表 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/all</code>
        <span class="label label-default">GET</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>page</td>
                        <td>int</td>
                        <td>否</td>
                        <td>第几页，默认为1</td>
                    </tr>
                    <tr>
                        <td>limit</td>
                        <td>int</td>
                        <td>否</td>
                        <td>一页多少个，默认为10</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":[{
		"articleId":"int //文章id",
		"userId":"int //作者id",
		"articleTitle":"string //文章标题",
		"simple":"string //文章简介",
		"searchKey":"string //搜索关键字",
		"icon":"string //文章封面",
		"articleType":"string //分类名称",
		"articleTypeArray":"string[] //分类名称的数组",
		"support":"int //点赞、支持数量",
		"browse":"int //浏览量",
		"createTime":"string //创建时间",
		"commentSum":"int //评论数量",
		"user":{
			"userName":"string //用户名字",
			"userImg":"string //用户头像"
		}
	}],
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_getAll_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_getAll_Result.html"><i class="fa fa-apple"
                                                                                                                                                   aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="getQuery"><a href="#">自定义筛选文章列表 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/query</code>
        <span class="label label-default">GET</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>sort</td>
                        <td>string</td>
                        <td>否</td>
                        <td>排序规则第一个参数必须是asc或者desc</td>
                    </tr>
                    <tr>
                        <td>minTime</td>
                        <td>string</td>
                        <td>否</td>
                        <td>最小上传时间</td>
                    </tr>
                    <tr>
                        <td>maxTime</td>
                        <td>string</td>
                        <td>否</td>
                        <td>最大上传时间</td>
                    </tr>
                    <tr>
                        <td>page</td>
                        <td>int</td>
                        <td>否</td>
                        <td>第几页</td>
                    </tr>
                    <tr>
                        <td>pageNum</td>
                        <td>int</td>
                        <td>否</td>
                        <td>一页有多少个</td>
                    </tr>
                    <tr>
                        <td>minSupport</td>
                        <td>int</td>
                        <td>否</td>
                        <td>最小点赞量</td>
                    </tr>
                    <tr>
                        <td>maxSupport</td>
                        <td>int</td>
                        <td>否</td>
                        <td>最大点赞量</td>
                    </tr>
                    <tr>
                        <td>minBrowse</td>
                        <td>int</td>
                        <td>否</td>
                        <td>最小点赞量</td>
                    </tr>
                    <tr>
                        <td>maxBrowse</td>
                        <td>int</td>
                        <td>否</td>
                        <td>最小点赞量</td>
                    </tr>
                    <tr>
                        <td>key</td>
                        <td>string</td>
                        <td>否</td>
                        <td>搜索关键字</td>
                    </tr>
                    <tr>
                        <td>type</td>
                        <td>string[]</td>
                        <td>否</td>
                        <td>分类</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":[{
		"articleId":"int //文章id",
		"userId":"int //作者id",
		"articleTitle":"string //文章标题",
		"simple":"string //文章简介",
		"searchKey":"string //搜索关键字",
		"icon":"string //文章封面",
		"articleType":"string //分类名称",
		"articleTypeArray":"string[] //分类名称的数组",
		"support":"int //点赞、支持数量",
		"browse":"int //浏览量",
		"createTime":"string //创建时间",
		"commentSum":"int //评论数量",
		"user":{
			"userName":"string //用户名字",
			"userImg":"string //用户头像"
		}
	}],
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_getQuery_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_getQuery_Result.html"><i class="fa fa-apple"
                                                                                                                                                     aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="getQuery"><a href="#">获取热门文章列表 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/hot</code>
        <span class="label label-default">GET</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>page</td>
                        <td>int</td>
                        <td>否</td>
                        <td>第几页，默认为1</td>
                    </tr>
                    <tr>
                        <td>limit</td>
                        <td>int</td>
                        <td>否</td>
                        <td>一页多少个，默认为10</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":[{
		"articleId":"int //文章id",
		"userId":"int //作者id",
		"articleTitle":"string //文章标题",
		"simple":"string //文章简介",
		"searchKey":"string //搜索关键字",
		"icon":"string //文章封面",
		"articleType":"string //分类名称",
		"articleTypeArray":"string[] //分类名称的数组",
		"support":"int //点赞、支持数量",
		"browse":"int //浏览量",
		"createTime":"string //创建时间",
		"commentSum":"int //评论数量",
		"user":{
			"userName":"string //用户名字",
			"userImg":"string //用户头像"
		}
	}],
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_getQuery_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_getQuery_Result.html"><i class="fa fa-apple"
                                                                                                                                                     aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="getDateils"><a href="#">获取文章详情 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/{id}</code>
        <span class="label label-default">GET</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>id</td>
                        <td>long</td>
                        <td>是</td>
                        <td>文章id</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":{
		"articleId":"int //文章id",
		"userId":"int //作者id",
		"articleTitle":"string //文章标题",
		"text":"string //正文",
		"simple":"string //文章简介",
		"searchKey":"string //搜索关键字",
		"icon":"string //文章封面",
		"articleType":"string //分类名称",
		"support":"int //点赞、支持数量",
		"browse":"int //浏览量",
		"createTime":"string //创建时间",
		"commentSum":"int //评论数量",
		"comments":[{
			"commentId":"long //评论id",
			"text":"string //正文",
			"userName":"string //评论发表人的名字",
			"userNumber":"string //评论发表人的QQ号",
			"userImage":"string //用户头像",
			"imgs":"string //评论中图片id们",
			"articleId":"int //文章id",
			"commentReply":"int //回复评论的id，0代表不是回复",
			"commentReplyName":"string //回复评论的人的QQ号",
			"support":"int //点赞、支持数量",
			"examine":"int //0正在审核，1审核通过，2审核不通过",
			"createTime":"string //创建时间",
			"comments":"Comment[] //评论的回复们"
		}],
		"user":{
			"userName":"string //用户名字",
			"userImg":"string //用户头像"
		}
	},
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_getDateils_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_getDateils_Result.html"><i class="fa fa-apple"
                                                                                                                                                       aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="save"><a href="#">上传文章 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/add</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求体</strong> <span class="badge">application/json</span></p>
        <pre class="prettyprint lang-json">{
	"articleTitle":"string //文章标题【必须】",
	"text":"string //正文【必须】",
	"simple":"string //文章简介【必须】",
	"searchKey":"string //搜索关键字【必须】",
	"icon":"string //文章封面，需要图片的base64【必须】",
	"articleType":"string[] //分类名称【必须】"
}</pre>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":{},
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_save_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_save_Result.html"><i class="fa fa-apple"
                                                                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="delete"><a href="#">删除文章 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/{id}</code>
        <span class="label label-default">DELETE</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>id</td>
                        <td>long</td>
                        <td>是</td>
                        <td>文章id</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":{},
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_delete_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_delete_Result.html"><i class="fa fa-apple"
                                                                                                                                                   aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="praiseSave"><a href="#">文章点赞 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/praise</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>id</td>
                        <td>long</td>
                        <td>是</td>
                        <td>文章id</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":{},
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_praiseSave_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_praiseSave_Result.html"><i class="fa fa-apple"
                                                                                                                                                       aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="praiseDelete"><a href="#">文章取消点赞 </a></h2>
<p><strong>请求URL</strong></p>
<p>
    <code>/api/articles/praise</code>
        <span class="label label-default">DELETE</span>
</p>
        <p><strong>请求参数</strong> <span class="badge">application/x-www-form-urlencoded</span></p>
        <table class="table table-bordered">
            <tr>
                <th>参数名</th>
                <th>类型</th>
                <th>必须</th>
                <th>描述</th>
            </tr>
                    <tr>
                        <td>id</td>
                        <td>long</td>
                        <td>是</td>
                        <td>文章id</td>
                    </tr>
        </table>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"data":{},
	"code":"int //响应码",
	"msg":"string //响应消息"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_zhulanhua_blogs_controller_ArticleController_praiseDelete_Result.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_zhulanhua_blogs_controller_ArticleController_praiseDelete_Result.html"><i class="fa fa-apple"
                                                                                                                                                         aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
<script>

    var search_source_data = [
            {name: '相册接口.获取相册分类列表', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#getAlbums'},
            {name: '相册接口.获取该相册分类的照片列表', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#getAlbumsItem'},
            {name: '相册接口.根据条件筛选相册照片列表', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#getQueryItemPage'},
            {name: '相册接口.新增相册', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#saveAlbums'},
            {name: '相册接口.修改相册', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#updateAlbums'},
            {name: '相册接口.删除相册', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#deleteAlbums'},
            {name: '相册接口.删除照片', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#deleteAlbumsItem'},
            {name: '相册接口.相册照片上传', url: 'com_zhulanhua_blogs_controller_AlbumsController.html#saveAlbumsItem'},
            {name: '文章接口.获取最新文章列表', url: 'com_zhulanhua_blogs_controller_ArticleController.html#getAll'},
            {name: '文章接口.自定义筛选文章列表', url: 'com_zhulanhua_blogs_controller_ArticleController.html#getQuery'},
            {name: '文章接口.获取热门文章列表', url: 'com_zhulanhua_blogs_controller_ArticleController.html#getQuery'},
            {name: '文章接口.获取文章详情', url: 'com_zhulanhua_blogs_controller_ArticleController.html#getDateils'},
            {name: '文章接口.上传文章', url: 'com_zhulanhua_blogs_controller_ArticleController.html#save'},
            {name: '文章接口.删除文章', url: 'com_zhulanhua_blogs_controller_ArticleController.html#delete'},
            {name: '文章接口.文章点赞', url: 'com_zhulanhua_blogs_controller_ArticleController.html#praiseSave'},
            {name: '文章接口.文章取消点赞', url: 'com_zhulanhua_blogs_controller_ArticleController.html#praiseDelete'},
            {name: '评论接口.获取该文章的评论', url: 'com_zhulanhua_blogs_controller_CommentController.html#getOk'},
            {name: '评论接口.自定义筛选评论', url: 'com_zhulanhua_blogs_controller_CommentController.html#getQuery'},
            {name: '评论接口.获取评论列表', url: 'com_zhulanhua_blogs_controller_CommentController.html#getNO'},
            {name: '评论接口.发布评论', url: 'com_zhulanhua_blogs_controller_CommentController.html#save'},
            {name: '评论接口.删除评论', url: 'com_zhulanhua_blogs_controller_CommentController.html#delete'},
            {name: '评论接口.评论审核通过', url: 'com_zhulanhua_blogs_controller_CommentController.html#updateOk'},
            {name: '评论接口.评论审核不通过', url: 'com_zhulanhua_blogs_controller_CommentController.html#updateNo'},
            {name: '评论接口.评论点赞', url: 'com_zhulanhua_blogs_controller_CommentController.html#praiseSave'},
            {name: '评论接口.评论取消点赞', url: 'com_zhulanhua_blogs_controller_CommentController.html#praiseDelete'},
            {name: '友链接口.获取审核不通过的友链列表', url: 'com_zhulanhua_blogs_controller_FriendLinkController.html#getErr'},
            {name: '友链接口.上传友链', url: 'com_zhulanhua_blogs_controller_FriendLinkController.html#save'},
            {name: '友链接口.删除友链', url: 'com_zhulanhua_blogs_controller_FriendLinkController.html#delete'},
            {name: '友链接口.友链审核通过', url: 'com_zhulanhua_blogs_controller_FriendLinkController.html#updateOk'},
            {name: '友链接口.友链审核不通过', url: 'com_zhulanhua_blogs_controller_FriendLinkController.html#updateNo'},
            {name: '图片接口.上传图片', url: 'com_zhulanhua_blogs_controller_ImageController.html#save'},
            {name: '用户接口.登录', url: 'com_zhulanhua_blogs_controller_UserController.html#login'},
            {name: '用户接口.获取博主信息', url: 'com_zhulanhua_blogs_controller_UserController.html#getDateil'},
            {name: '用户接口.修改博主基础信息', url: 'com_zhulanhua_blogs_controller_UserController.html#update'},
            {name: '用户接口.忘记密码，修改密码', url: 'com_zhulanhua_blogs_controller_UserController.html#updatePassword'},
            {name: '用户接口.忘记密码，发送验证码', url: 'com_zhulanhua_blogs_controller_UserController.html#getMD5'},
    ];



    $('.toggle-catalog').click(function () {
        $('.book').toggleClass('with-summary');
    });

    $('#inputSearch').autocomplete({hint: false}, [
        {
            source: function (query, callback) {
                var result = [];
                for(var i = 0; i !== search_source_data.length; i++){
                    if(search_source_data[i].name.indexOf(query) !== -1){
                        result.push(search_source_data[i]);
                    }
                }
                callback(result);
            },
            displayKey: 'name',
            templates: {
                suggestion: function (suggestion) {
                    return suggestion.name;
                }
            }
        }
    ]).on('autocomplete:selected', function (event, suggestion, dataset, context) {
        self.location = suggestion.url;
    });
</script>
</body>
</html>